home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / xsokoban / help.h next >
Encoding:
C/C++ Source or Header  |  1995-05-03  |  3.6 KB  |  63 lines

  1. typedef struct helpline {
  2.    int xpos, ypos, page;
  3.    char *textline;
  4. } h_line;
  5.  
  6. h_line help_pages[] = {
  7.   { 0, 35, 0, "Objective:  Push all the objects from their starting positions"},
  8.   { 12, 50, 0, "into their goal positions.  Be warned that you can"},
  9.   { 12, 65, 0, "push only one object at a time; watch out for corners!"},
  10.   { 0, 100, 0, "Movement:   Use the vi-keys hjkl or the keyboard arrow keys"},
  11.   { 25, 130, 0, "left right up down"},
  12.   { 13, 145, 0, "Move/Push     h    l    k   j"},
  13.   { 13, 160, 0, "Run/Push      H    L    K   J"},
  14.   { 13, 175, 0, "Run Only     ^H   ^L   ^K  ^J"},
  15.   { 0, 210, 0, "Commands:"},
  16.   { 12, 210, 0, "^r: refresh screen            ?: get this help screen"},
  17.   { 12, 225, 0, "^u: restore to temp save      c: make a temp save"}, 
  18.   { 12, 240, 0, " u: undo last move/push       U: restart this level"},
  19.   { 12, 255, 0, " s: save game and quit        q: quit game"},
  20.   { 0, 285, 0, "Misc:       If you set a temp save, you need not undo all"},
  21.   { 12, 300, 0, "when you get stuck.  Just reset to this save."},
  22.   { 12, 330, 0, "A temporary save is automatically made at the start."},
  23.   { 0, 380, 0, "Bitmaps:"},
  24.   { 12, 380, 0, "Player:     Goal:      Wall:     Object:"},
  25.   { 12, 420, 0, "Object on a goal:      Player on a goal:"},
  26.   { 0, 35, 1, "                  Making your own bitmaps"},
  27.   { 0, 65, 1, "The game expects various bitmaps to be present in the"},
  28.   { 0, 80, 1, "directory you specify with -b.  The following are the"},
  29.   { 0, 95, 1, "correspondences between files and game objects:"},
  30.   { 0, 110, 1, "   man.xbm      -- The player bitmap"},
  31.   { 0, 125, 1, "   goal.xbm     -- The bitmap for the goal"},
  32.   { 0, 140, 1, "   wall.xbm     -- The generic wall bitmap"},
  33.   { 0, 155, 1, "   object.xbm   -- Bitmap for the object you push around"},
  34.   { 0, 170, 1, "   treasure.xbm -- Bitmap for an object on the goal"},
  35.   { 0, 185, 1, "   saveman.xbm  -- Bitmap for man on a goal position"},
  36.   { 0, 200, 1, "If you use the -w option (for fancy walls), the following"},
  37.   { 0, 215, 1, "bitmaps are also needed:"},
  38.   { 0, 230, 1, "   southwall.xbm    -- wall with only northern connections"},
  39.   { 0, 245, 1, "   northwall.xbm    -- wall with only southern connections"}, 
  40.   { 0, 260, 1, "   eastwall.xbm     -- wall with only western connections"}, 
  41.   { 0, 275, 1, "   westwall.xbm     -- wall with only eastern connections"}, 
  42.   { 0, 290, 1, "   llcornerwall.xbm -- Lower left hand corner wall"},
  43.   { 0, 305, 1, "   ulcornerwall.xbm -- Upper left hand corner wall"}, 
  44.   { 0, 320, 1, "   lrcornerwall.xbm -- Lower right hand corner wall"},
  45.   { 0, 335, 1, "   urcornerwall.xbm -- Upper right hand corner wall"}, 
  46.   { 0, 350, 1, "   north_twall.xbm  -- connects to south, east, and west"},
  47.   { 0, 365, 1, "   south_twall.xbm  -- connects to north, east, and west"},
  48.   { 0, 380, 1, "   east_twall.xbm   -- connects to north, south, and west"},
  49.   { 0, 395, 1, "   west_twall.xbm   -- connects to north, south, and east"},
  50.   { 0, 410, 1, "   centerwall.xbm   -- connects to walls on every side"},
  51.   { 0, 425, 1, "   lonewall.xbm     -- connects to walls on no sides"},
  52.   { 0, 440, 1, "If you do not have a saveman.xbm, it will try to load man.xbm"},
  53.   { 0, 455, 1, "and if you use -w and a wall file is missing, it will try to"},
  54.   { 0, 470, 1, "load wall.xbm."},
  55.   { 0, 485, 1, "All loading takes place in the following order:"},
  56.   { 0, 500, 1, "  bitmap from -b dir (if -b specified)"},
  57.   { 0, 515, 1, "  alternate from -b dir (if -b specified, and there is an"},
  58.   { 0, 530, 1, "    alternate (see saveman.xbm and -w wall bitmaps))"},
  59.   { 0, 545, 1, "  default bitmap"},
  60.   { 0, 560, 1, "  default alternate if one exists"},
  61.   {0, 0, 0, NULL}
  62. };
  63.